#include <stdio.h>
#include <stdlib.h>

int main()
{
    int a,b,c;
    scanf("%d %d %d",&a,&b,&c);
    if(a>c){
        if(a>c){
            printf("%d",a);
        }
        else
            printf("%d",c);
    }
    else if(b>c){
        printf("%d",b);
    }
    else printf("%d",c);
    return 0;
}
